<%@ include file="../views/taglib.jsp" %>

<c:if test="${not empty message}">
	<div class="alert alert-danger text-center" role="alert">${message}</div>
</c:if>


<form class="form-horizontal" role="form" method="post" action="<c:url value="j_spring_security_check"/>">
  <div class="form-group">
    <label for="inputLoginId" class="col-sm-2 control-label">Login Id</label>
    <div class="col-sm-6">
      <input type="text" class="form-control" name="username" placeholder="Login Id">
    </div>
  </div>
  <div class="form-group">
    <label for="inputPassword" class="col-sm-2 control-label">Password</label>
    <div class="col-sm-6">
      <input type="password" class="form-control" name="password" placeholder="Password">
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <div class="checkbox">
        <label>
          <input type="checkbox" name="remember-me"> Remember me
        </label>
      </div>
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-default btn-primary">Login</button>
    </div>
  </div>
</form>